package com.ke.dao;

import com.ke.pojo.OrderItem;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author bochen
 */
public interface OrderItemRepository extends JpaRepository<OrderItem,Integer> {
    List<OrderItem> findByUid(Integer uid);

    List<OrderItem> findByOrderUUID(String uuid);
}
